namespace Digitalmes.Domain.Sys;

/// <summary>
/// 通知已读模块
/// </summary>
[SugarTable("sys_notice_read", "通知已读模块")]
public class SysNoticeRead : EntityTenantId
{
    /// <summary>
    /// 通知编号
    /// </summary>
    [SugarColumn(ColumnDescription = "通知编号")]
    public long NoticeId { get; set; }

    /// <summary>
    /// 用户编号
    /// </summary>
    [SugarColumn(ColumnDescription = "用户编号")]
    public long UserId { get; set; }

    /// <summary>
    /// 是否已读
    /// </summary>
    [SugarColumn(ColumnDescription = "是否已读")]
    public bool IsRead { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    [SugarColumn(ColumnDescription = "创建时间")]
    public DateTime CreateTime { get; set; } = DateTime.Now;

    /// <summary>
    /// 创建人
    /// </summary>
    [SugarColumn(ColumnDescription = "创建人", Length = 32)]
    public string? CreateUser { get; set; }
}
